import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { BaseAreaController } from './base-area.controller';
import { BaseAreaService } from './base-area.service';
import { AuthModule } from 'src/auth/auth.module';
import { BaseArea } from 'src/entity/baseArea.entity';
@Module({//加了这句就好了好奇怪
  imports:[TypeOrmModule.forFeature([BaseArea]),AuthModule],
  controllers: [BaseAreaController],
  providers: [BaseAreaService]})
export class BaseAreaModule {}
